FROM moxm/java:1.8-full

MAINTAINER levi 2022.11.17

ARG JAR_FILE=./spring-test-1.0-SNAPSHOT.jar

COPY ${JAR_FILE} app.jar

ENV TZ=Asia/Shanghai JAVA_OPTS="-Xms128m -Xmx256m -Djava.security.egd=file:/dev/./urandom"

CMD java -jar app.jar $JAVA_OPTS
